import request from '@/utils/request'
export function getRecommendArticleList(query) {
  return request({
    url: 'api/v1/sys-academy',
    method: 'get',
    params: query
  })
}
// 新增推荐文章
export function createRecommendArticle(data) {
  return request({
    url: '/api/v1/sys-academy',
    method: 'post',
    data: data
  })
}
// 编辑Article
export function updateRecommendArticle(data) {
  return request({
    url: '/api/v1/sys-academy/change',
    method: 'post',
    data: data
  })
}
// 删除Article
export function deleteRecommendArticle(data) {
  return request({
    url: '/api/v1/sys-academy',
    method: 'DELETE',
    data: data
  })
}
